package com.linkage.user.pojo;

public class User {
	/**
	 * create table user
		(
		   userId               int(10) not null,
		   userName             varchar(35) not null,
		   password             varchar(35) not null,
		   email                varchar(35) not null,
		   status               boolean not null,
		   money                decimal(8,2),
		   primary key (userId)
		);
	*/

	private int userId;
	private String userName;
	private String password;
	private String email;
	private boolean status;
	private double money;
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName
				+ ", password=" + password + ", email=" + email + ", status="
				+ status + ", money=" + money + "]";
	}
	public User(int userId, String userName, String password, String email,
			boolean status, double money) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.email = email;
		this.status = status;
		this.money = money;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
